<template>
	<view>
		<view class="mainpadding">
			<u-parse :content="dataAll.content"></u-parse>
		</view>
	</view>
</template>

<script>
	const httpRequest = require("@/common/httpRequest.js")
	export default {
		data() {
			return {
				dataAll:{},
				listid:"",
			}
		},
		onShareAppMessage: function(options) {
			return {
				title: '制片宝',
				imageUrl: '',
				path: '/pages/index/index'
			}
		},
		onShareTimeline: function() {
			return {
				title: '制片宝',
				imageUrl: '',
				path: '/pages/index/index'
			}
		},
		onLoad(options) {
			this.listid = options.id
			this.getDetail()
		},
		methods: {
			getDetail() {
				httpRequest.request('index/zxDetail', 'GET', {
					id: this.listid,
				}, false, false, true).then(res => {
					this.dataAll = res.data
				})
			},
		}
	}
</script>

<style>

</style>